package com.dxysun.springboot.state;

public class Order
{
	private int id;
	private OrderStatus status;

	public void setStatus(OrderStatus status)
	{
		this.status = status;
	}

	public int getId()
	{
		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public OrderStatus getStatus()
	{
		return status;
	}

	@Override
	public String toString()
	{
		return "Order{" + "id=" + id + ", status=" + status + '}';
	}
}
